import { Ipc_ChannelEnum } from "@enum/channel.enum";


export function downLoadUrlById(url:string,winId:number = window.customize.id!):void{

    window.ipc?.send(
        Ipc_ChannelEnum.DOWNLOAD_FILE_BYID,
        url,
        winId
      );
}